﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using GSLMS.Entity;
using GSLMS.Entity.DTO;

namespace GSLMS.Services.Interface
{
    [ServiceContract(Name = "SystemConfig", Namespace = "http://www.haigu.com/")]
    public interface ISystemConfig
    {
        [OperationContract]
        List<SystemConfig> GetAll();
        [OperationContract]
        List<SystemConfig> GetAll(UniversallySearchParam searchparma);
        [OperationContract]
        SystemConfig GetByID(string key);
        [OperationContract]
        bool Add(SystemConfig model);
        [OperationContract]
        bool Update(SystemConfig model);
        [OperationContract]
        bool Delete(string key);

    }
}
